@rem-per-px: 10/750rem;

[v-cloak] { display: none }
.clearfix:after {
  content: '';
  height: 0;
  line-height: 0;
  clear: both;
  display: block;
}
.screen {
   position: fixed;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background: #f0f0f0;
}

.drawing{
  //height: 100%;
  //transform: translateX(-50%);
  //left: 50%;
  width: 100%;
}

.drawing__image{
  //height: 100%;
  width: 100%;
}

.cosmetics{
  position: absolute;
  bottom: 0;
  height: 220*@rem-per-px;
  padding-top: 26*@rem-per-px;
  background: rgba(255,255,255,.5);
  overflow: auto;
  width: 100%;
}

.cosmetics__list {
  list-style: none;
  padding-left: 0;
  display: inline-block;
  white-space: nowrap;
  margin: 0;
}
.cosmetics__list__item{
  margin-left: 22*@rem-per-px;
  width: 136*@rem-per-px;
  display: inline-block;
}

.cosmetics__list:last-child {
  margin-right: 22*@rem-per-px;
}

.cosmetics__list__item__thumb {
  width: 100%;
  height: 136*@rem-per-px;
  overflow: hidden;
  border-radius: 12*@rem-per-px;
  box-sizing: content-box;
  position: relative;
  //border: 4px solid transparent;
}

.cosmetics__list__item__name{
  text-align: center;
  margin: 16*@rem-per-px auto;
  font-size: 26*@rem-per-px;
}

.cosmetics__list__item_active .cosmetics__list__item__thumb:after{
  content: "";
  display: block;
  border: 4*@rem-per-px solid #cb6ff1;
  position: absolute;
  width: 128*@rem-per-px;
  height: 128*@rem-per-px;
  border-radius: 12*@rem-per-px;
  top: 0;
  left: 0;
}

.cosmetics__list__item__thumb__img{
  width: 100%;
}

.screen__drawing{
  width: 100%;
}

.upload__image{
  position: fixed;
  width: 116*@rem-per-px;
  height: 116*@rem-per-px;
  border-radius: 50%;
  background: #ffffff;
  left: 50%;
  background-size: 100%;
  background-image: url("https://gz.bcebos.com/v1/beauty-mirror/may-promo/camera.png");
  transform: translateX(-50%);
  bottom: 260*@rem-per-px;
}


.share{
  position: absolute;
  top: 16*@rem-per-px;
  right: 16*@rem-per-px;
  width: 334*@rem-per-px;
  height: 84*@rem-per-px;
  background: #ffffff;
  border-radius:8*@rem-per-px ;
  white-space: nowrap;
}

.share__icon {
  background-image: url("https://gz.bcebos.com/v1/beauty-mirror/may-promo/icon_gift.png");
  width: 46*@rem-per-px;
  height: 46*@rem-per-px;
  display: inline-block;
  background-size: 100%;
  margin: 19*@rem-per-px 8*@rem-per-px 19*@rem-per-px 19*@rem-per-px;
}
.share__desc {
  vertical-align: top;
  margin: 0;
  display: inline-block;
  line-height: 84*@rem-per-px;
  font-size: 30*@rem-per-px;
  color: #b741e8;
}

.cover{
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  overflow: hidden;
  text-align: center;
}

.cover__picture{
  position: absolute;
  //height: 100%;
  left: 50%;
  min-height: 100%;
  min-width: 100%;
  transform: translateX(-50%);
  background-size: auto 100%;;
  background-position: center;
  background-image: url("https://gz.bcebos.com/v1/beauty-mirror/may-promo/bg.jpg");
}

.cover__upload{
  background-size: 100%;;
  background-image: url("https://gz.bcebos.com/v1/beauty-mirror/may-promo/Buttons_Makeup.png");
  width: 390*@rem-per-px;
  height: 172*@rem-per-px;
  position: absolute;
  //left: 50%;
  //transform: translateX(-50%);
  display: block;
  left: 50%;
  margin-left: -195*@rem-per-px;
  top: 70%;
  animation:tada .6s infinite;
}



@keyframes tada {
  from {
    -webkit-transform: scale3d(1, 1, 1);
    transform:  scale3d(1, 1, 1)
  }

  10%,20% {
    -webkit-transform: scale3d(0.9, 0.9, 0.9) rotate3d(0, 0, 1, -3deg);
    transform: scale3d(0.9, 0.9, 0.9) rotate3d(0, 0, 1, -3deg)
  }

  30%,50%,70%,90% {
    -webkit-transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg);
    transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg)
  }

  40%,60%,80% {
    -webkit-transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg);
    transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg)
  }

  to {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1)
  }
}


.error{
  display: none;
  position: fixed;
  top: 34%;
  left: 50%;
  transform: translateX(-50%);
  height: 84*@rem-per-px;
  background: rgba(255,255,255,0.7);
  border-radius: 10*@rem-per-px;
  font-size: 0;
  white-space: nowrap;
}

.error.error_show{
  display: block;
}

.error__icon{
  display: inline-block;
  background-repeat: no-repeat;
  background-image: url("https://gz.bcebos.com/v1/beauty-mirror/may-promo/icon_failure.png");
  background-size: 100%;
  width: 48*@rem-per-px;
  height: 48*@rem-per-px;
  margin: 17*@rem-per-px;
}
.error__desc{
  display: inline-block;
  vertical-align: top;
  font-size: 28*@rem-per-px;
  height: 84*@rem-per-px;
  line-height: 84*@rem-per-px;
  padding-right: 18*@rem-per-px;
  color: #c261ec;
}